package com.itfreer.gis.datasyn.entity;

import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;

/**
 * 地图工程配置表
 */
@DatabaseTable(tableName = "project")
public class ProjectEntity {
    /**
     * 主键
     */
    @DatabaseField(id = true,columnName = "id", useGetSet = true, width = 50)
    private String id;

    /**
     * 图层名称
     */
    @DatabaseField(columnName = "layerName", useGetSet = true, width = 50)
    private String layerName;

    /**
     * 图层类型
     */
    @DatabaseField(columnName = "layerType", useGetSet = true, width = 50)
    private String layerType;

    @DatabaseField(columnName = "layerTypeName", useGetSet = true, width = 50)
    private String layerTypeName;

    /**
     * 是否显示
     */
    @DatabaseField(columnName = "show", useGetSet = true, width = 2, defaultValue = "false")
    private Boolean show;

    /**
     * 是否可选择
     */
    @DatabaseField(columnName = "canSelect", useGetSet = true, width = 2, defaultValue = "false")
    private Boolean canSelect;

    /**
     * 是否可编辑
     */
    @DatabaseField(columnName = "canEdit", useGetSet = true, width = 2, defaultValue = "false")
    private Boolean canEdit;

    /**
     * 是否有效
     */
    @DatabaseField(columnName = "valid", useGetSet = true, width = 2, defaultValue = "false")
    private Boolean valid;

    /**
     * 排序
     */
    @DatabaseField(columnName = "order", useGetSet = true, width = 10)
    private Integer order;

    /**
     * 数据源
     */
    @DatabaseField(columnName = "source", useGetSet = true, width = 50)
    private String source;

    /**
     * 数据源
     */
    @DatabaseField(columnName = "sourceName", useGetSet = true, width = 50)
    private String sourceName;

    /**
     * 文件数据源
     */
    @DatabaseField(columnName = "path", useGetSet = true, width = 800)
    private String path;

    /**
     * 数据同步类型
     */
    @DatabaseField(columnName = "synType", useGetSet = true, width = 50)
    private String synType;

    /**
     * 数据同步类型
     */
    @DatabaseField(columnName = "synTypeName", useGetSet = true, width = 50)
    private String synTypeName;

    /**
     * 空间坐标系统
     */
    @DatabaseField(columnName = "spatialReference", useGetSet = true, width = 30)
    private String spatialReference;
    /**
     * 最大显示比例尺
     */
    @DatabaseField(columnName = "maxScale", useGetSet = true, width = 30)
    private Integer maxScale;
    /**
     * 最小显示比例尺
     */
    @DatabaseField(columnName = "minScale", useGetSet = true, width = 30)
    private Integer minScale;
    /**
     * 渲染
     */
    @DatabaseField(columnName = "renderer", useGetSet = true, width = 4000)
    private String renderer;
    /**
     * 标注
     */
    @DatabaseField(columnName = "label", useGetSet = true, width = 4000)
    private String label;

    /**
     * 元数据
     */
    @DatabaseField(columnName = "s_metadata", useGetSet = true, width = 50)
    private String metadata;

    /**
     * 标注参数
     */
    @DatabaseField(columnName = "labelPara", useGetSet = true, width = 1000)
    private String labelPara;
    /**
     * 新要素创建时的默认值
     */
    @DatabaseField(columnName = "defaultValue", useGetSet = true, width = 1000)
    private String defaultValue;

    /**
     * 主健
     */
    public String getId() {
        return id;
    }

    /**
     * 主健
     */
    public void setId(String value) {
        this.id = value;
    }

    /**
     * 图层名称
     */
    public String getLayerName() {
        return layerName;
    }

    /**
     * 图层名称
     */
    public void setLayerName(String value) {
        this.layerName = value;
    }

    /**
     * 图层类型
     */
    public String getLayerType() {
        return layerType;
    }

    /**
     * 图层类型
     */
    public void setLayerType(String value) {
        this.layerType = value;
    }

    /**
     * 是否显示
     */
    public Boolean getShow() {
        return show;
    }

    /**
     * 是否显示
     */
    public void setShow(Boolean value) {
        this.show = value;
    }

    /**
     * 是否可选择
     */
    public Boolean getCanSelect() {
        return canSelect;
    }

    /**
     * 是否可选择
     */
    public void setCanSelect(Boolean value) {
        this.canSelect = value;
    }

    /**
     * 是否可编辑
     */
    public Boolean getCanEdit() {
        return canEdit;
    }

    /**
     * 是否可编辑
     */
    public void setCanEdit(Boolean value) {
        this.canEdit = value;
    }

    /**
     * 是否有效
     */
    public Boolean getValid() {
        return valid;
    }

    /**
     * 是否有效
     */
    public void setValid(Boolean value) {
        this.valid = value;
    }

    /**
     * 排序
     */
    public Integer getOrder() {
        return order;
    }

    /**
     * 排序
     */
    public void setOrder(Integer value) {
        this.order = value;
    }

    public String getLayerTypeName() {
        return layerTypeName;
    }

    public void setLayerTypeName(String layerTypeName) {
        this.layerTypeName = layerTypeName;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source;
    }

    public String getSourceName() {
        return sourceName;
    }

    public void setSourceName(String sourceName) {
        this.sourceName = sourceName;
    }

    public String getSynType() {
        return synType;
    }

    public void setSynType(String synType) {
        this.synType = synType;
    }

    public String getSynTypeName() {
        return synTypeName;
    }

    public void setSynTypeName(String synTypeName) {
        this.synTypeName = synTypeName;
    }

    public String getSpatialReference() {
        return spatialReference;
    }

    public void setSpatialReference(String spatialReference) {
        this.spatialReference = spatialReference;
    }

    public Integer getMaxScale() {
        return maxScale;
    }

    public void setMaxScale(Integer maxScale) {
        this.maxScale = maxScale;
    }

    public Integer getMinScale() {
        return minScale;
    }

    public void setMinScale(Integer minScale) {
        this.minScale = minScale;
    }

    public String getRenderer() {
        return renderer;
    }

    public void setRenderer(String renderer) {
        this.renderer = renderer;
    }

    public String getLabel() {
        return label;
    }

    public void setLabel(String label) {
        this.label = label;
    }

    public String getMetadata() {
        return metadata;
    }

    public void setMetadata(String metadata) {
        this.metadata = metadata;
    }

    public String getLabelPara() {
        return labelPara;
    }

    public void setLabelPara(String labelPara) {
        this.labelPara = labelPara;
    }

    public String getDefaultValue() {
        return defaultValue;
    }

    public void setDefaultValue(String defaultValue) {
        this.defaultValue = defaultValue;
    }
}
